#include"head.h"

std::map<std::string, int> dic;

void DicInit() {

	dic.insert(std::pair<std::string, int>("void", T_SVG));
	dic.insert(std::pair<std::string, int>("int", T_SVG));
	dic.insert(std::pair<std::string, int>("float", T_SVG));
	dic.insert(std::pair<std::string, int>("double", T_SVG));
	dic.insert(std::pair<std::string, int>("if", T_SVG));
	dic.insert(std::pair<std::string, int>("else", T_SVG));
	dic.insert(std::pair<std::string, int>("for", T_SVG));
	dic.insert(std::pair<std::string, int>("do", T_SVG));
	dic.insert(std::pair<std::string, int>("while", T_SVG));

	dic.insert(std::pair<std::string, int>("+", T_SPG));
	dic.insert(std::pair<std::string, int>("=", T_SPG));
	dic.insert(std::pair<std::string, int>("-", T_SPG));
	dic.insert(std::pair<std::string, int>("*", T_SPG));
	dic.insert(std::pair<std::string, int>(";", T_SPG));
	dic.insert(std::pair<std::string, int>(",", T_SPG));
	dic.insert(std::pair<std::string, int>("(", T_SPG));
	dic.insert(std::pair<std::string, int>(")", T_SPG));
	dic.insert(std::pair<std::string, int>("{", T_SPG));
	dic.insert(std::pair<std::string, int>("}", T_SPG));

	dic.insert(std::pair<std::string, int>(">=", T_SPG));
	dic.insert(std::pair<std::string, int>("<=", T_SPG));
	dic.insert(std::pair<std::string, int>("!=", T_SPG));
	dic.insert(std::pair<std::string, int>("==", T_SPG));
	dic.insert(std::pair<std::string, int>("/*", T_SPG));
	dic.insert(std::pair<std::string, int>("++", T_SPG));
	dic.insert(std::pair<std::string, int>("--", T_SPG));
	dic.insert(std::pair<std::string, int>(">>", T_SPG));
	dic.insert(std::pair<std::string, int>("<<", T_SPG));
	dic.insert(std::pair<std::string, int>("+=", T_SPG));
	dic.insert(std::pair<std::string, int>("-=", T_SPG));
	dic.insert(std::pair<std::string, int>("*=", T_SPG));
	dic.insert(std::pair<std::string, int>("/=", T_SPG));

	dic.insert(std::pair<std::string, int>("&&", T_SPG));
	dic.insert(std::pair<std::string, int>("||", T_SPG));
	dic.insert(std::pair<std::string, int>("!", T_SPG));

}